{:includeFile('public/header',['data' => $_nav_header ])}
{:includeFile('public/nav')}
<div class="manager-yj">
    <div class="Top-tabbar flex-center">
        <div class="wrap flex-space-between">
            <div class="ll">
                当前位置：<a href="/">首页</a><span>></span>
                {volist name="_url_crumbs" id="u"}
                <a href="{$u.path}">{$u.title}</a>
                {gt name=":count($_url_crumbs)" value="$key + 1"}<span>></span>{/gt}
                {/volist}
            </div>
            <div class="rr flex-end">
                {volist name=":getNavByGid($_url_gid)" id="c"}
                <a href="{$c.path}" {eq name=":getCurrentPath()" value="$c.path"}class="on"{/eq}>{$c.title}</a>
                {/volist}
            </div>
        </div>
    </div>
    <div class="wrap">
        <div class="title3 flex-center">
            {volist name=":getArticleCategoryByNavGid($_url_gid)" id="v"}
            <a href="/news/list/{$v.id}" {if condition="$_params[0] eq $v.id OR $_params[0] eq $key"}class="on"{/if}>{$v.title}</a>
            {/volist}
        </div>
        <div class="wz-box">
            <div class="wrap">
                {volist name=":getArticlesByCategoryId($_params[0], $_url_gid)" id="v"}
                {eq name="key" value="0"}
                <a href="/page/a/{$v.id}.html">
                    <div class="box1 flex-space-between">
                        <div class="ll">
                            <div class="pic">
                                <img src="{$v.image}"/>
                            </div>
                        </div>
                        <div class="rr">
                            <p class="p1 over1">{$v.title} </p>
                            <p class="p2 over2">{$v.summary}</p>
                            <p class="p3">【查看详情】</p>
                        </div>
                    </div>
                </a>
                {else/}
                <a href="/page/a/{$v.id}.html">
                    <div class="box2 flex-space-between">
                        <div class="ll over1"> {$v.title}</div>
                        <div class="rr">【查看详情】</div>
                    </div>
                </a>
                {/eq}
                {/volist}

            </div>
            {:getArticlesByCategoryId($_params[0], $_url_gid)->render()}
        </div>

    </div>
</div>
<!--footer-->
{:includeFile('public/footer')}